package com.hkts.naturalgas.curvesettings.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.curvesettings.entity.Curve;
import com.hkts.naturalgas.curvesettings.entity.CurveStateParamVo;
import com.hkts.naturalgas.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-11
 */
public interface ICurveService extends IService<Curve> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param curve
     * @return
     */
    IPage<Curve> selectPage(Page<Curve> page, Curve curve);

    List<Curve> selectList(Curve curve);

    Map<String,Curve> selectMap();

    Result<Object> configuretimePoint(CurveStateParamVo curveState);

    void updateHeadNum(Map<String,Object> map);
}